/* General Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f4f8;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    animation: backgroundMove 10s infinite alternate ease-in-out;
}

h2 {
    color: #003366;
    font-size: 1.8em;
    animation: textBounce 2s infinite;
}

.container {
    max-width: 400px;
    padding: 25px;
    background: linear-gradient(135deg, #fff, #e6ecf2);
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: rotate(2deg);
    animation: fadeIn 1s ease, swing 5s infinite alternate ease-in-out;
}

/* Input Field Styling */
.forgot-password-container .form-control {
    border-radius: 8px;
    border: 1px solid #ccc;
    transition: all 0.3s ease;
    transform: scale(1);
}

.forgot-password-container .form-control:focus {
    border-color: #003366;
    box-shadow: 0 0 8px rgba(0, 51, 102, 0.3);
    transform: scale(1.05);
}

/* Button Styling */
.btn-primary {
    background-color: #003366;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: #004080;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Link Styling */
.text-center a {
    color: #003366;
    transition: color 0.3s, transform 0.3s;
}

.text-center a:hover {
    color: #004080;
    text-decoration: underline;
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes swing {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(2deg); }
    100% { transform: rotate(-2deg); }
}

@keyframes backgroundMove {
    0% { background-color: #f0f4f8; }
    100% { background-color: #d9e6f2; }
}

@keyframes textBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
